<?php

class TestTimberHooks extends Timber_UnitTestCase
{
    public function testTimberContext()
    {
        add_filter('timber/context', function ($context) {
            $context['person'] = "Nathan Hass";
            return $context;
        });
        $context = Timber::context();
        $this->assertEquals('Nathan Hass', $context['person']);
    }
}
